import React from "react";
import { Spin } from "antd";
import { box } from "../mobx/box";
import { observer } from "mobx-react-lite";

const Loading: React.FC = () => {
  return (
    <>
      <Spin spinning={box.loading} fullscreen />
    </>
  );
};

export default observer(Loading);
